import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import TestComponent from '@/components/test'
import GameComponent from '@/components/Game'
import Iconfont from '@/components/iconfont'
import firstCom from '@/components/firstCom'


Vue.use(Router)

export default new Router({
  mode:'history',
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path:'/001',
      name:'Test',
      component:TestComponent
    },
    {
      path:'/17183',
      name:'Game',
      component:GameComponent
    },
	{
	  path:'/002',
	  name:'iconfont',
	  component:Iconfont
	},
  {
    path:'/003',
    name:'firstCom',
    component:firstCom
  },

  ]
})
